// 示例用样式, 与插件无关
html, body {
  background-color: #f2f2f2;
  margin: 0px;
  padding: 0px;
}

html {
  font-size: 20px;
}

@media screen and (max-width: 678px) {
  html {
    font-size: 15px;
  }
}

.header, .footer {
  left: 0;
  right: 0;
  position: fixed;
  z-index: 999;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3rem;
  font-size: 0.9rem;
}

.header {
  top: 0;
  background-color: #ff5b00;
  color: #fff;
}

.footer {
  bottom: 0;
  background-color: #FFFFFF;
  box-shadow: 0px 1px 0.5rem rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: flex-end;
  padding: 0px 0.7rem;
  box-sizing: border-box;

  .layui-btn-primary {
    background-color: #ff5b00;
    color: #FFFFFF;
    border-radius: 20px;
    border-color: #ff5b00;
  }
}

.container {
  position: relative;
  z-index: 0;

  .body {
    box-sizing: border-box;
    padding: 3rem 0rem;
    flex: 1;

    .goods {
      display: flex;
      justify-content: space-between;
      background-color: #FFFFFF;
      padding: 0.75rem;

      & + .goods {
        margin-top: 5px;
      }

      .goods-thumb {
        flex-shrink: 0;
        width: 6rem;
        height: 6rem;

        img {
          width: 100%;
          height: 100%;
        }
      }

      .goods-info {
        flex: 1;
        padding-left: 0.75rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;

        > .goods-name {
          font-size: 1rem;
        }

        > .goods-footer {
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 100%;

          > .goods-price {
            font-size: 1rem;
            font-weight: bold;
            color: #ff5b00;
          }
        }
      }
    }
  }
}